<?php

class SysController extends Controller
{
	public function actionIndex()
	{
		$this->render('index');
	}

	public function actionError()
        {
            if ($error = Yii::app()->errorHandler->error) {
                $this->renderPartial("error",$error);
            }
            
        }

}